package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.domain.Goot;
import com.bwie.service.GootService;
import com.bwie.mapper.GootMapper;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 36167
* @description 针对表【goot(商品表)】的数据库操作Service实现
* @createDate 2025-03-17 08:47:55
*/
@Service
public class GootServiceImpl extends ServiceImpl<GootMapper, Goot>
    implements GootService{

    @Autowired
    GootMapper gootMapper;

    @Override
    public R show(Integer id) {
        Goot goot = gootMapper.selectById(id);
        return R.OK(goot);
    }
}




